package com.jeesite.modules.digitalize.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jeesite.modules.digitalize.entity.DigitalizeComponentIntegration;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

/**
 * (DigitalizeComponentIntegration)表数据库访问层
 *
 * @author xk
 * @since 2024-01-03 14:29:24
 */
@Mapper
public interface DigitalizeComponentIntegrationDao extends BaseMapper<DigitalizeComponentIntegration> {
    @Update("update digitalize_component_integration set del_status = #{integration.delStatus}" +
            ", update_by = #{integration.updateBy},update_date = now() where id = #{integration.id}")
    void updateByIdAndDelStatus(@Param("integration") DigitalizeComponentIntegration integration);
}

